Personal tools

Lua/Server/StaticObject

From JC2-MP Documentation

< Lua‎ | Server
Jump to: navigation, search

Static functions

Returns Prototype
StaticObject Create(Vector3, Angle, string)
StaticObject Create(table)
StaticObject GetById(number)

Functions

Returns Prototype
string GetCollision()
number GetId()
string GetModel()
Remove()
Respawn()
SetAngle(Angle)
SetPosition(Vector3)
Teleport(Vector3, Angle)

Functions inherited from StreamableObject

Returns Prototype
Angle GetAngle()
CellID GetCellId()
boolean GetEnabled()
Vector3 GetPosition()
number GetStreamDistance()
iterator GetStreamedPlayers()
World GetWorld()
SetEnabled(boolean)
SetStreamDistance(number)
SetWorld(World)

Functions inherited from EntityStorageBase

Returns Prototype
object GetValue(string)
SetNetworkValue(string, object)
SetValue(string, object)

Operators

Returns Prototype
boolean StaticObject == StaticObject